<div class="ciuusers">
<?php echo $this->element("breadcrumb", array('tokens'=>array("","Aspirantes")) ); ?>
<div class="clearfix">&nbsp;</div>
<table class="zebra" >
	<thead>
	<tr>
		<th>Plan</th>
		<th>Horario</th>
		<th>Cantidad <br> aspirantes</th>
		<th>Exámenes</th>
	</tr>
	</thead>
<tbody>
<?php
	foreach($demand as $key => $val){
?>
	<tr>
		<td><?php echo $val['Ciuplan']['name']; ?>&nbsp;</td>
		<td><?php echo $val['Ciutimetable']['name']; ?>&nbsp;</td>
		<td class="left"><?php echo $val[0]['demanda']; ?>&nbsp;</td>
		<td>
		<?php echo $this->Html->link(__('Ver', true),       array('controller'=>'ciuexams','action' => 'index', $val['Ciuplan']['id'])); ?>
		<?php echo $this->Html->link(__('Adicionar', true), array('controller'=>'ciuexams','action' => 'add', $val['Ciuplan']['id'])); ?>		
		</td>
	</tr>
<?php		
	}
?>
</tbody>
</table>
</div>
